import tools as Tools
import data as Data

screen = Tools.screen
Actor = Tools.Actor
Animation = Tools.Animation

class Main:
    def __init__(self):
        Tools.Debug(3,'Part7')
    def Enter(self):
        self.Pic2 = Actor('pic2',[Tools.CentralX(),Data.HEIGHT+150])
        Animation(self.Pic2,'accel_decel',2,None,y=Tools.CentralY()+60)
    def Update(self):
        screen.fill((0,0,0))
        self.Pic2.draw()
        screen.draw.text("在直角坐标系中，对于平面上的任意一点，都有唯一的一个有序数对（即点的坐标）与它对应.",(100,100),"osans4.ttf")
        screen.draw.text("例如，某点在平面直角坐标系中的横坐标为x，纵坐标为y，则其坐标可记作(x,y).",(100,150),"osans4.ttf")